package cn.walls1717.ggkt.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * @author walls1717
 */
@Getter
public enum CouponType {

    /** 1 注册 */
    REGISTER(1,"注册"),
    /** 2 推荐购买 */
    RECOMMEND(2,"推荐购买");

    @EnumValue
    private Integer code;
    private String comment ;

    CouponType(Integer code, String comment ){
        this.code=code;
        this.comment=comment;
    }
}